package com.ssm.module.film.dao;

import java.util.List;

import com.ssm.common.annotation.MyBatisDao;
import com.ssm.common.persistence.CrudDao;
import com.ssm.module.film.entity.Film;
import com.ssm.module.film.entity.FilmQueryVo;

/**  
* <p>Title: FilmDao</p>  
* <p>Description: 影片Mapper</p>  
* @author jzhang  
* @date 2018年6月12日 下午1:58:01  
*/
@MyBatisDao
public interface FilmDao extends CrudDao<Film>{
	//保存影片信息
	public void insertSelective(Film film) throws Exception;
	
	//查询影片信息
	public List<Film> findList(FilmQueryVo filmQueryVo) throws Exception;
	
	//根据id查询影片信息
	public Film selectFilmByPrimaryKey(Integer id) throws Exception;
	
	//根据id更新记录
	public void updateSelective(Film film) throws Exception;
	
	//影片批量删除
	public void deleteFilm(int[] ids) throws Exception;
	
	//查询记录总数
	public int rowCount(FilmQueryVo filmQueryVo);
	
	//查询列表-分页查询
	public List<Film> selectFilmByCondition(FilmQueryVo filmQueryVo);
}
